package io.renren.modules.yckj.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 发票日志
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2025-05-20
 */
@Data
public class InvoiceLogsExcel {
    @ExcelProperty(value = "主键")
    private Long id;
    @ExcelProperty(value = "类型：0充值，1订单")
    private Integer businessType;
    @ExcelProperty(value = "业务id")
    private Long businessId;
    @ExcelProperty(value = "发票id")
    private Long invoiceId;
    @ExcelProperty(value = "类型：0普票（电子），1专票（电子）")
    private Integer invoiceType;
    @ExcelProperty(value = "总金额")
    private BigDecimal amount;
    @ExcelProperty(value = "电子发票文件url")
    private String url;
    @ExcelProperty(value = "状态：充值时：0未支付，1支付成功，可开票。订单时：0申请，1通过")
    private Integer status;
    @ExcelProperty(value = "用户名称")
    private String username;
    @ExcelProperty(value = "用户id")
    private Long userId;
    @ExcelProperty(value = "备注")
    private String note;
    @ExcelProperty(value = "0合同，1检测清单，2检测报告")
    private String fileType;
    @ExcelProperty(value = "创建时间")
    private Date createTime;
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

}